package cn.itsource.org.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Department {
   private Long id;
   private String sn;
   private String name;
   @ApiModelProperty("上级部门的路径,每个部门之间使用/隔开")
   private String dirPath;
   private Integer state;
   /**
    * 管理员id
    */
   private Long manager_id;
   private Employee employee;
   /**
    * 上级部门id
    */
   private Long parent_id;
   private Department parent;//


}
